//
//  ProductServiceGetVideoListRequest.m
//  littleVideoGo
//
//  Created by WeiWei on 2018/8/9.
//  Copyright © 2018年 Liu. All rights reserved.
//

#import "ProductServiceGetVideoListRequest.h"

@implementation ProductServiceGetVideoListRequest

+ (void)goRequestWithPage:(NSNumber *)page pageSize:(NSNumber *)pageSize uid:(NSInteger)uid success:(Success)success failure:(Failure)failure {
    NSMutableDictionary *parameters = [NSMutableDictionary dictionary];
    parameters[@"method"] = @"ProductService.getVideoList";
    parameters[@"uid"] = @(uid);
    if (page) {
        parameters[@"page"] = page;
    }
    if (pageSize) {
        parameters[@"pagesize"] = pageSize;
    }
    
    [AppBaseRequest POSTWithParameters:parameters success:success failure:failure];
}

@end
